package org.clockworkmages.games.anno1186.situations.status;

import java.util.List;

import org.clockworkmages.games.anno1186.GameBeansContext;
import org.clockworkmages.games.anno1186.GameStateService;
import org.clockworkmages.games.anno1186.model.character.PlayerCharacter;
import org.clockworkmages.games.anno1186.model.option.GoBackOption;
import org.clockworkmages.games.anno1186.model.option.Option;
import org.clockworkmages.games.anno1186.model.situation.Situation;

public class CharacterStatusSituation
		extends Situation {

	public CharacterStatusSituation() {
		super("ST_STATUS");
		setTitle("Character Status");

	}

	@Override
	public void update() {
		super.update();
		GameStateService gameStateService = GameBeansContext
				.getBean(GameStateService.class);

		PlayerCharacter playerCharacter = gameStateService.getGameState()
				.getCharacter();

		List<Option> options = getOptions();
		options.clear();

		options.add(GoBackOption.INSTANCE);

		String text = "";

		setText(text);
	}

}
